package de.zefania.api;

import java.util.List;

/**
 * represents one dictionary modul
 * @author Thomas
 *
 */
public interface DictionaryModul {
	/**
	 * return information about the dictionary, that is stored in the &lt;INFORMATION&gt;-Element of the modul
	 * @return a map containing the information
	 */
	ModulInformation getInformation();
	/**
	 * returns a list of items stored in this dictionary
	 * @return
	 */
	List<String> getItemList();
	/**
	 * returns one item of the dictionary, represented by the id
	 * @param id
	 * @return
	 */
	Object getDictionaryItemByString(String id);
	/**
	 * returns one item of the dictionary, identified by the strong number
	 * @param strongnbr
	 * @return
	 */
	Object getDictionaryItemByStrongNumber(String strongnbr);
	/**
	 * returns one item of the dictionary, identified by the position
	 * @param pos
	 * @return
	 */
	Object getDictionaryItemByPosition(Position pos);
}
